package com.fa4j.code.mate.model;

import com.fa4j.common.base.model.BaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.RequiredArgsConstructor;


@Schema(description = "代码元数据方法类型")
@Getter
@RequiredArgsConstructor
public enum CodeMateMethodType implements BaseEnum {

    CREATE_CMD(1, "创建命令"),
    MODIFY_CMD(2, "编辑命令"),
    REMOVE_CMD(3, "删除命令"),

    DETAIL_QUERY(4, "详情查询"),
    PAGE_QUERY(5, "分页查询"),

    ;
    private final Integer code;
    private final String name;

}
